package com.ss.bilibili_online.dao;

import com.ss.bilibili_online.repository.DataRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
@Repository
public class DataDaoimpl implements DataDao {
    @Autowired
    private DataRepository dataRepository;
    @Override
    public List getDataE(int counts) {
        return  dataRepository.queryOnlineCountOverMinuter(counts);
         //null;
    }
}
